# from wxauto import *

# who = '文件传输助手'  # 指定发送对象
# send_msg = '筱筱路可'  # 发送消息内容

# # 获取当前微信客户端
# wx = WeChat()  
# # 向某人发送消息（以文件传输助手为例）
# wx.ChatWith(who)  # 打开文件传输助手聊天窗口
# wx.SendMsg(send_msg)  # 向文件传输助手发送消息 
import db

try:
    dbconn = db.db()
    sql = """
        select * from bd_ai_metting_command where state = 1;
    """
    
    res_sql = dbconn.select_all(sql)['data']
    
    print(res_sql)
    
    for res_sql_i in res_sql:
        print(res_sql_i['keywords'])
    
    
except Exception as e:
    print(e)